function login(){
	var name = document.getElementById("coCertificateName").value;
	var date = document.getElementById("coCertificateIssueDate").value;
	var unit = document.getElementById("coCertificateIssueUnit").value;
	var period = document.getElementById("coCertificateValidityPeriod").value;

	if($.trim(name).length==0){
		alert("请输入证书名称！！！");
		return false;
	}
	if($.trim(date).length==0){
		alert("请输入发证日期！！！");
		return false;
	}
	if($.trim(unit).length==0){
		alert("请输入发证单位！！！");
		return false;
	}
	if($.trim(period).length==0){
		alert("请输入证书有效期！！！");
		return false;
	}
	if(coCertificate.picture.value==""){
		alert("请上传文件！！！");
		coCertificate.picture.focus();
		return false;
	}

	return true;
}